// JavaScript Document
<!--JavaScript-tab-->
     function secBoard(n) {
  var secTable = document.getElementById('secTable');
    for(var i=0;i< secTable.cells.length-1;i++){
      secTable.cells[i].className="sec1";
      }
    secTable.cells[n].className="sec2";
    var mainTable =document.getElementById('mainTable');
    for(var i=0;i<mainTable.tBodies.length;i++){
      mainTable.tBodies[i].style.display="none";
      }
    mainTable.tBodies[n].style.display="block";
  }


<!--JavaScript-msg-->
function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      oldonload();
      func();
    }
  }
}
function prepareInputsForHints() {
 var inputs = document.getElementsByTagName("input");
 for (var i=0; i<inputs.length; i++){
  if (inputs[i].parentNode.getElementsByTagName("span")[0]) {
   inputs[i].onfocus = function () {
    this.parentNode.getElementsByTagName("span")[0].style.display = "inline";
   }
   inputs[i].onblur = function () {
    this.parentNode.getElementsByTagName("span")[0].style.display = "none";
   }
  }
 }
 var selects = document.getElementsByTagName("select");
 for (var k=0; k<selects.length; k++){
  if (selects[k].parentNode.getElementsByTagName("span")[0]) {
   selects[k].onfocus = function () {
    this.parentNode.getElementsByTagName("span")[0].style.display = "inline";
   }
   selects[k].onblur = function () {
    this.parentNode.getElementsByTagName("span")[0].style.display = "none";
   }
  }
 }
}
addLoadEvent(prepareInputsForHints);
